//
//  MutilTextCellData.m
//  18Birdies
//
//  Created by weihua on 2017/1/18.
//  Copyright © 2017年 Lc. All rights reserved.
//

#import "MutilTextCellData.h"
#import "MutilTextCell.h"

@implementation MutilTextCellData

- (instancetype)init {
  self = [super init];
  if (self) {
    self.leftMargin = 15;
    self.canHide = YES;
  }
  return self;
}

- (Class)cellClazz {
  return MutilTextCell.self;
}

- (NSString*)nibName {
  return @"MutilTextCell";
}

- (void)refreshCell:(MutilTextCell *)cell {
  [super refreshCell:cell];
  if (self.titleFont != nil) {
    [cell.titleLabel setLcFont:self.titleFont];
  }
  cell.leftMarginConstraint.constant = self.leftMargin;
  [cell.titleLabel setText:self.title];
}

@end
